﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Dora.Tools.Insurance.AYB.Dto
{
    /// <summary>
    /// 订单查询返回的数据
    /// </summary>
    public class OrderResponseDto : AYB_ResponseBaseDto
    {
        /// <summary>
        /// 订单查询返回的数据结构部分
        /// </summary>
        public OrderQueryDataDto data { get; set; }
    }

    /// <summary>
    /// 订单查询返回的数据结构部分
    /// </summary>
    public class OrderQueryDataDto
    {
        /// <summary>
        /// 订单主体信息
        /// </summary>
        public OrderBaseDataInfo base_info { get; set;  }
        /// <summary>
        /// 投保人信息
        /// </summary>
        public HolderDataInfo holder_info { get; set; }
        /// <summary>
        /// 被保人信息
        /// </summary>
        public List<InsurantDataInfo> insurant_info { get; set; }
    }

    public class OrderBaseDataInfo : BaseDataInfo
    {
        /// <summary>
        ///  订单号 
        /// </summary>
        public string sn { get; set; }
        /// <summary>
        ///  保单号(如果未承保，则为空)
        /// </summary>
        public string policy_no { get; set; }
        /// <summary>
        ///  电子保单URL(如果未承保，则为空)
        /// </summary>
        public string pdf_url { get; set; }
        /// <summary>
        /// 订单状态
        /// </summary>
        public string status { get; set; }
        /// <summary>
        /// 保险公司
        /// </summary>
        public string insurer_name { get; set; }
        /// <summary>
        ///  产品名称
        /// </summary>
        public string product_name { get; set; }
        /// <summary>
        ///  原价
        /// </summary>
        public string total_price { get; set; }
        /// <summary>
        /// 结算价
        /// </summary>
        public string settlement_total_price { get; set; }

    }
}
